<script setup>
import { onBeforeMount } from "vue";
import { useRoute, useRouter } from "vue-router";

onBeforeMount(() => {
  const { params, query } = useRoute();
  const { path } = params;

  useRouter().replace({ path: "/" + path, query });
});
</script>
<template>
  <div class=""></div>
</template>
